package com.andyage.admin.service;

import java.util.List;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import com.andyage.admin.bean.AdorderBean;

public interface IAdorderService {
	/**
	 * 查询订单表信息
	 * @param order
	 * @return
	 */
	String queryAdOrderInfo(AdorderBean order)throws Exception;
	/**
	 * 删除未支付订单
	 * @param order
	 * @return
	 */
	String deleteAdOrderInfo(String orderId)throws Exception;
	
	String updateAdorderInfo(AdorderBean order)throws Exception;
	
	HSSFWorkbook exportAdorderInfoByCondition(AdorderBean order)throws Exception;
	/**
	 * 查询需要抽奖的订单
	 * @param order
	 * @return
	 * @throws Exception
	 */
	String queryChoujiangOrder(AdorderBean order)throws Exception;
	/**
	 * 
	 * 添加中奖订单
	 * @param order 查询条件
	 * @param count 抽奖次数
	 * @return
	 * @throws Exception
	 */
	String addWinningOrder(AdorderBean order,int count)throws Exception;
}
